package com.ftf.tp.user.interfaces.facade.converter;

import com.ftf.tp.user.client.dto.UserInfoDTO;
import com.ftf.tp.user.domain.data.dos.TpUserDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 文章相关领域对象转换器
 *
 * @author tanghao
 * @date 2022/6/26
 */
@Mapper
public interface UserConverter {

    UserConverter INSTANCE = Mappers.getMapper(UserConverter.class);

    UserInfoDTO doToResp(TpUserDO userInfo);
}
